﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class StartGUIText : MonoBehaviour
{

    // Use this for initialization
    void Start()
    {
    }

    // Update is called once per frame
    void Update()
    {
        SetCurrentShipText();
    }
    public void SetCurrentShipText()
    {
        var selectShip = GameObject.Find("lift").GetComponent<SelectShip2>();
        GetComponent<Text>().text = selectShip.infotext;
    }
}